Made Player class to control Snake.