Java Programming/Assignment 1