updated files, added hashtable and test

bugfixes, added hashtable and testhashtable