Moved hashTable code to header file and got rid of linker error