added own equals and hashCode methods
added attributes
fixed Strings and named the unnamed method
Added new functionality
Compare