I\'m trying to get an "hourglass" array out from a nested array.
Say that this array is
1 1 1 0 0 0 0 1 0 0 0 0 1 1 1 0 0 0