Search In Nested Array Python Memory