Little exercise to practice de basics of Java.