fixed and formatted Part2a,b
finished Part2Q2 c and d