Updated to generate random color for nodes in snake.