C# version of the Water Pouring example in the Coursera Scala course