additional answers for exercise 1
start work on exercises 3 & 4