Given a 5-gallon jug and a 2-gallon jug, with the 5-gallon jug initially
full of water and the 2-gallon jug empty, the goal is to fill the
2-gallon jug with exactly one gallon of water.
State = (x,y), where x =
number of gallons of water in the 5-gallon jug and y is gallons in the
2-gallon jug