Add function put
Add new function for hashTable