Worked on insertion some more, I think it works, hash search still doesn't work