Added implementation for ht_insert()

No testing yet, no related issue.
`avl_insert` doesn't return a pointer anymore.