Exercises for week 3 and 4.