Bugfix for erroneous board equality check - much easier in OCaml