implemented getinfo for hashtable
started implementing dynamic behaviour - compiles and runs clean under valgrind but does not auto resize