Create Three Dimensional Array Python Memory Allocation