Used name tuples for key value pairs in hashtable
Amended _put() so that it overwrites duplicate keys