[ymeng] Euclid Algorithm: greatest common factor