added p21 c solution