Question 156056
You are correct. You want to end up with a matrix with a diagonal of 1's where every other element (except for the far right column) is zero. 



Note: It's not always possible to obtain this since you may have no solutions or an infinite number of solutions.