Euclidean Algorithm. Retrieved from http://mathworld.wolfram.com/EuclideanAlgorithm.html