quadratic solver working as long as there is input for each number
working, with blank input detection