answers for questions 1 through 4 on project2