comp 409 assignment 3 question1