Implementation of Euclid's Great Common Divisor Algorithm in Java