added basic 64-bit tuple hash of walls in Board
Cache: saved 0.04s of depth-1 ai performance

(added an (overly complicated?) cache decorator for __bfs_tree)