Interval Scheduling using Greedy Algorithm