Added euclids-algorithm.