sps.c
State swapRows(Table *table, unsigned r1, unsigned r2) {
    // convert to real addressing
    r1--;
    r2--;

    // swap around the pointers
    Cell *tmp;
    tmp = table->cells[r2];
    table->cells[r2] = table->cells[r1];
    table->cells[r1] = tmp;
    return SUCCESS;
}
// swap rows of table, user coordinates
swap rows of table, user coordinates
swap rows of table user coordinates
State swapRows(Table *table, unsigned r1, unsigned r2) {
    r1--;
    r2--;
    Cell *tmp;
    tmp = table->cells[r2];
    table->cells[r2] = table->cells[r1];
    table->cells[r1] = tmp;
    return SUCCESS;
}
State swapRows ( Table * table , unsigned r1 , unsigned r2 ) { r1 -- ; r2 -- ; Cell * tmp ; tmp = table -> cells [ r2 ] ; table -> cells [ r2 ] = table -> cells [ r1 ] ; table -> cells [ r1 ] = tmp ; return SUCCESS ; }
swap rows of table, user coordinates
swap rows of table user coordinates
// convert to real addressing // swap around the pointers