added hashtable implementation
fixed entry bug for hash tables;\nbit of refactoring too
refactoring
fixed hashtable template problems