A class for working with bidimensional arrays