to-do add a 2nd test case
added a test case
override hashCode()
override equals and hashcode
set all attributes to private, and add the standard setter/getter