Solutions of homework tasks form Java Basics course