implemented cell value reading based on row and column index