Peg Solitare Solver in C