adding problem 21,22,24

Problem 21,22,24