adding problem 22
add problem 21
add problem 24