Add greedy planning of tasks