Do you have an off-by-one error here? The book uses `j + m`, but they start indexing at 1, not 0. Shouldn't even the first iteration add a new column (in which case, also, wouldn't this if statement always be true)?