Scala code to model water movement