changed hashtable length to test if it is working correctly

added string concatenation function
fixing compiler errors