Puzzle solver for a one dimensional version of peg solitaire my grandad showed me (uses a directed graph to compute all possible moves)