Squares game (Python and Pygame)