Homework 2 - Java Syntax