code euclid