exer 2.21 & exer 2.22
answer for exer2.23