cs325 closetozero problem