Added composition

Added proper functional programming style composition as a complement
to the more intuitive pipe.