extend money class

Extend money class, remove amount variable and modify equals method.