riverdirection function

River Direction