Accept 2 functions, return the composed function