a linear algebra helper for understanding row echelon form