Changes Table to use tuple for dimensions and indices.

Changes the Table struct to use a tuple of (width, height) for
dimensions and (row, column) for indices, instead of separate variables
for each.
Also, eliminates warnings several unused variables