[WIP] Fix ht interface

Resubmit from #105 onto master
Why return the hash? This way the function doesn't tell the user, whether the insertion was successful or not.