HW 1 for Advanced Java