Python script for solving a Ruzzle board.