Hi Chris, I may have time to look at the rest of your code later. For now I just want to comment on one line: On Nov 7, 12:24 pm, chris <oz... at web.de> wrote: > elem=['a','b','c'][i] The string type, just like the list type, is a sequence type. So strings have all the standard sequence methods. You could just write: elem = "abc"[i]