Thanks,
That's the general concept of what I'm going for, and I don't know why reading it triggered the idea to do a if/switch combination to step through the array, but I think it will work and now my head hurts.
Why, oh why, did I go to a school with terrible CompSci teachers?