Add more exercises for chapter 7

Solutions for A primer on scientific programming with python 2nd ed.