Update HashMap.java

You should run this and see.
The put more or less works in test 1. Now the iterator is throwing null pointer exception.
I have class up till Data Structures so whatever you get done turn it in before the deadline.