done a lot of work on exercise 3
 Please enter the commit message for your changes. Lines starting