Changing the contents of an Array

OMG that works! I was so close to figuring this out on my own but yet so far away. But most importantly I can understand this after seeing it. I've been reading two different books and Google seraching for two days on this one task of stuffing an int into that array at the correct locatoin.

Thank you 6v6gt!

P.S.- Like your avatar. Transistors just can't match it (yet).