Chain together a list of functions