A just for fun translation to Java of the "Water Pouring Problem" solution offered in the course 'Functional Programming Principles in Scala'