I want to make a method to obtain a subset of 2d arrat with range of row or column. Rows are 0 indexed and the range is inclusive of the first element but exclusive of the l