Determine the instance

hi there.
i am doing a searching algorithm, so let’s say the path is from A to B to C and finally D (A[COLOR=Red]->[/COLOR]B[COLOR=Red]->[/COLOR]C[COLOR=Red]->[/COLOR]D)
and it is represented in an array, such that path={“A”, “B”, “C”, “D”};

how can i link these four elements to redim as instances on the desktop, such that i have four instances, named A, B, C, D, and also the line which connected to one of the each other, named AB, BC, CD.

for instance,
how to set the color line AB, BC, CD? (the array always can be in different set of answers.)

before that someone told me dont use the double quotation, but i think that’s not working with my program, further more, i need to combine two elements, which represent the line connected to two ends.

Is there beter way?

Hope to get help ASAP… thanks.