Added solutions for problems P21-22.