Added implementation for ht_insert()

No testing yet, no related issue.
You don't have to write this each time, github will notice it for me! :-P