Implemented drawGrid and drawSnake