Combiner

Modified the example from the book with a combiner function. Seems to be working, but please check carefully if this is what they mean with the exercise. It seems a bit too easy.