Our quadratic solver in Java