add 3.22 exercise and explaination