I wanted to know how I can modify this code using arrays so that a star is subtracted from the end of the snake and added to the snake\'s head? Thank you all.