Added methods getRowLength()and getColLength()