Add example with pipelines

The new example can be found at example/pipelines.cpp.
Basic monad algorithms are extracted into monads/algorithms.
Readme is updated.