Recursion Nested Array Example Math