Greatest Common Divisor written iteratively and recursively with the structures COND, IF and for all elements