OOPS, I don't know how to remove my question or edit it. Yes it was a trivial error. What I wanted to say was: my $N= $#Org, but I forgot the $, so the rest of the line was a comment, and the my statement was unfinished. Now I see. I don't know how to remove this question