Homework 2 Java Basic