Maxima Function
rowswap (M, i, j)
If M is a matrix, swap rows i and j. If M doesn't have a row i or j, signal an error.