Commit initial implementation of the hashtable.

Currently the test and the implementation both don't work. Needs more
simplification, refactoring and debugging.