Solving the Cracker Barrel pegboard game