Print paths in (row, col) order