practical test of McCarthy’s 91 function
for the cases given in the exercise
finish exercise 1