I've rewritten the whole function... and yes.. failed 2 tests again \:\(

But at least now I know where it goes wrong.... but the sollution... is far away i'm afraid.
_________________________
It's better to have scripted and died, then to never have scripted at all