Swift Advance functions

Flatten multidimensional array

Introduction with advance functions