Minor bugfix in the free function of dynamic hash table.
Added put and get functions for the dynamic hash map.