exercise three for lecture 2735322