Testing the put(key,value); function
implemented put function

This will add a key,value pair to the array of Nodes