Made player.rect a pygame.Rect

Previously it was a tuple