change switch statement to if clauses
Merge pull request #41 from bbachmey/java/3/lesson/11

change switch statement to if clauses