I have to do project for which I need custom function for hashing matrix. Project is about Othello (Reversi) game which means that I need to hash fixed 8×8 matrix. This is how initializing matrix looks like: Here is one example of how board looks: As you can see, one player is 1 (which is always me) and the second