palindroms and evens have been generalized with a higher order function
A print all elements in an array using funs
Performing a multiplication using a fun returning another function
double_all uses the second order function times()