Added recitation 7 code