Array Flatten Method