Code- Water Flow