Functions for the Week 3 Peer Assignment