added euclid factorial calculation to euclid example