Construct a function composition from a list of functions.
Given a list of functions [f,g,h], constructs a function . That is, returns a function , for which .