hashMap completed!

The former problem is: hashcode could be a negetive int.