Title: Solving the Pell Equation