Adding array2D class