Improved Euclidean Algorithm output with OOP