Enumerates the number of positions in a ball-sort puzzle, in order of their distance from the solution state.
To use:
ball-sort-puzzle --colors 4 --spare 2
This project is functional but (A) doesn't use multiple CPUs yet, and (B) probably uses too much memory.