completed hw5 q1, test