completing the square definition