Solving Systems of Quadratic Equations