Workout for exercise 3.
Added exercise 4.