Hash table one completed

Not the pretiest code in the world, but kinda works :)