First working commit of Challenge 7 in Java