Analysis of the Chess Ending: King and Queen against King and Rook