August Home Interview Question

Implement a flatten method for arrays