Create Nested Array Python Definition Functional Medicine