solve any quadratic equation (integer coefficients)