Decide how you want to represent the configuration of aN-puzzle. Then write down the representation for the puzzleconfigurations shown in Figure 2. Fill the corresponding predicatesin a2handin.pl, init(+Name, -State) where Name is the letter in thefigure (i.e. a,b,c, or d) and State is your representation of theconfiguration. 1 2 4 3 8 5 7 6 (a) 8 6 2 4 1 5 7 3 (b) 2 4 6 1 5 83 7 (c) 1 2 5 3 10 15 13 12 11 14 4 6 8 7 9 (d) Figure 2: Fourproblems you will solve. Please use these names, i.e.
PayPal Gateway not configured
PayPal Gateway not configured