fixed execution map for nested chains. added skip

you can now skip to any function by calling next(functionName).
This should work with regular functions as well as chains and nested
chains. Some basic tests have been written.