bug in if statement for movement across border in computeCellsExplored. one specific condition had x instead of y in statement. also test script for function was faulty. everything was passing because sorted was returning sorted keys and keys of output always matched keys of expected output.
bug in if statement for movement across border in computeCellsExplored. one specific condition had x instead of y in statement. also test script for function was faulty. everything was passing because sorted was returning sorted keys and keys of output always matched keys of expected output.