implment array_flatten
adding array_flatten
adding array_flatten