HW3 Part3 a,b,c finished no tests