Add an example of foeach, a higher order method of List.