Algorithm for scheduling single path is done. Working on algorithm to schedule whole graph