Create Nested Array Python Definition