Added generic hashtable implementation.

Modified `main()' to test this code (lightly).
Added a foreach function for `gen_HashTable'.