Add the correct index for the last stage of the swap.
Nice! We added j+1 because we've already changed the value of list[j].
j+1
list[j]
You should add j+1 to your code.