Euclidean Algorithm Time Complexity