Row-reduce an augmented matrix [A|b] to row echelon form using elementary row operations. See every swap and elimination with partial pivoting.