First java assignment number 3