Added user-euclidean algorithm and tested.
Merge branch 'user-euclidean'