Finished question 3. Third submission.