Hi Shlomi and all, I spent roughly 15 minutes on this yesterday, but I'm afraid I couldn't handle the recursion :-) When someone does answer this, please tell us/me _how_ you did it! Cheers, Srikanth Madani ps: Gabor - what's a boureka? (as in the stuff Y and S are to buy everyone!)