Added HashCode() and Equals() to class Gold.