Add exercise 3
Formatting corrections