Water Jug Problem Python Program