6th Java Class Assignment