Create Nested Array Python Definition Function Notation