Project Scheduling. Rmb to use DP when the graph is guaranteed a DAG'