Object Calisthenics Exceice in Java