Python Array Pop Time Complexity