finished coin class with test case, currently in testing and debugging phase