Refactored the equals method to use currency instead of class and refactored times(), allowing times() to be moved up to Money base class