solve 2.5-2.9
Merge branch 'master' of https://github.com/vbohush/JavaExercises