Add new exercise for chp 7

Solutions for cup 7 for a primer on scientific programming with python