Make the snake move by itself and add setDirection to turn