Perform row reduction step-by-step