Creating functions to insert and get key-value pairs from a hash list.