Reimplemented 2D array data type