Chapter 2, exercise 2 - implemented 'variance'using for comprehension