simple python for helping out with jumping puzzles