Add Merge Intervals

Some codes still need to have a deeper understanding