#Pancake.flatten
###about:
Returns a new array that is a one-dimensional flattening of nested arrays (recursively).
###usage:
Pancake.flatten(array)
###examples:
a = [1, 2, [3, 4], 'five']
b = [1, 2, [[3, 4], ['five', [6, 7]], 8]]
Pancake.flatten(a) #returns [1, 2, 3, 4, 'five']
Pancake.flatten(b) #returns [1, 2, 3, 4, "five", 6, 7, 8]`
###specs:
Run bundle install
to install minitest dependencies. Then run ruby pancake_spec.rb