For Loop Over Array Python Memory