Homework for Java Basics course in SoftUni