updated HomeworkAssignment2