two arrays hash function

Jenny’s note:

Finally getting to the good stuff