How To Make 2d Array To 1d Array