Programming in Java - Exercises Day 3