java assignment 1 complete