Rename complete_line as complete_row and rename variables (i,j) as row_index and column_index respectively