add greedy interval scheduling