added sequenceA with list of functions. Added substitution example for understanding sequenceA with a list of functions.