CPT121 Java Programming Assignment Two