Adding 'RowAndColumn' class to encapsulate coordinates into one object.