Updated the initial and final node detection. Started generating the output gxl file that specifies the schedule