Add writeup, perf tests. Fix bugs in hashtable