See the lesson with solutions at https://github.com/shwina/parallel-python-ASPP-2017