Peg Solitaire solution algorithm