Exercises for chapter 1

Adding more exercises for chapter 1 for the solutions manual for python
primer.