Added graph generating scripts, moved the stitch coroutine out.
Moving linear extentions code.
SJT coroutine using local and stitch pattern.