Change Length Of Array Python Memory