Update 2022/16
Switching from using frozensets to bitstrings to track what nodes
have been visited in the search state speeds things up by ~66%.
Before (sequential/parallel):
180.68s user 0.22s system 100% cpu 3:00.90 total
885.54s user 20.17s system 1545% cpu 58.601 total
After (sequential/parallel):
63.70s user 0.07s system 99% cpu 1:03.79 total
312.33s user 6.87s system 1524% cpu 20.942 total