python list append and pop time complexity