Implemented non-incremental zobrist hashing.