solve water container puzzle