1. Develop a backtracking algorithm for solving a Peg Solitaire problem whose hole is placed randomly.
2. Use the draw.ss teachpack to develop a view for the Peg Solitaire problem. Recall that a view is a function that illustrates certain aspects of a problem in a graphical manner. The natural solution here is to display the intermediate stages of the solution process according to the algorithm of exercise 43.3.7, including the backtracking steps.
Exercise 43.3.7
Develop a backtracking algorithm for solving a Peg Solitaire problem whose hole is placed randomly.