scip exercisi 1.20 An answer in great details. http://www.billthelizard.com/2010/01/sicp-exercise-120-gcd.html