adds code for week3 quiz