pouring problem

This is a solution for pouring problem. Pouring problem is a search problem.