Finished question 3 in Lab1.