Added documentation for exercise 3