Java Class pset2