hashCode, equals and constructor added
Merge pull request #5 from xcechack/master

hashCode, equals and constructor added