organizing list of tuples,"l = [(1, 4), (8, 10), (19, 25), (10, 13), (14, 16), (25, 30)]"