purpose: to apply a function using items from a list as the arguments
Intermediate Student with Lambda Language