Added exercise 3 of tutorial sheet 11.