Programming in Java - Exercises Day 2