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