Euclid's Algorithm for Finding the Greatest Common Divisor