Solving Quadratic Equations, Android, Java, C++, C++11