Fixed hash function - remember to initialize your variables, kids!
Exercise 6-5 finished