Improving Fraction with toString override and finish Polynomial solver