Update hw 5 - Include coin comparison and use reset method