Data source: http://rosettacode.org/wiki/Solve_a_Hopido_puzzle
