Java Assignment Submission