fixes typos and reorders comments in exercise 3
adds exercise 4