python list pop index time complexity