3 Water Jug Problem Algorithm