Added 'waterflow' problem solution.

Slow, but works.