<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def from_twodim_list(cls, datalist, tsformat=None):
 """Creates a new TimeSeries instance from the data stored inside a two dimensional list. :param list datalist: List containing multiple iterables with at least two values. The first item will always be used as timestamp in the predefined format, the second represents the value. All other items in those sublists will be ignored. :param string tsformat: Format of the given timestamp. This is used to convert the timestamp into UNIX epochs, if necessary. For valid examples take a look into the :py:func:`time.strptime` documentation. :return: Returns a TimeSeries instance containing the data from datalist. :rtype: TimeSeries """

        # create and fill the given TimeSeries
        ts = TimeSeries()
        ts.set_timeformat(tsformat)

        for entry in datalist:
            ts.add_entry(*entry[:2])

        # set the normalization level
        ts._normalized = ts.is_normalized()
        ts.sort_timeseries()

        return ts