Python Quadratic Solver By Completing