Modified the structure table of HashTable to be a shared_ptr instead of a simple vector*