added documentation to hash_from_two_arrays