Solver for the multi-cop shannon switching game
Compile and run with:
clear && rm a.out; g++ ncop.cpp && ./a.out