've tried the push and pop functions and they work great with 1D columns but, when it comes to 2D, I don't know how to indicate wich column must be pushed and poped.
The push or pop will affect all the columns. With the array all the columns are the same height, and all the rows are the same width.
The solution is to have multiple instances of 1d arrays.