1. Implement DFS by using PROLOG.
2. Implement BFS by using PROLOG.
3. Solve the problem of Question 3 in Assignment 1 by using your PROLOG programs of DFS and BFS, respectively.
Question 3 from Assignment 1 to Solve with Prolog:
3. Consider the following problem:
Rowena has three unmarked glasses of different sizes:
3 ounces, 5 ounces, and 8 ounces.
The largest glass is full.
What can Rowena do to get 4 ounces of liquid into each of the larger two glasses?