added a get tile function based on row and column