Programming in Java - Exercises Day 6