created function that returns list of n functions, when called returns input value