Quadratic equations roots program in java