Added hashing to perft