if else statement java exercises with solutions