You can use a single 1D array and just think of it as a 2D array :)
Make an array with width=256 and use it to store 16x16 values. If you need an entry, say, for (X=5,Y=1), it's Array.At(1*16+5)
Or Array.At(Y*16+X)
Then you can easily remove entries in the middle and shift the rest of the array using "pop" action.