java program to check even or odd number