stupid bruteforce solver.

No can solve 12x12 boards, though..