Added completed code for project 3