Bubblesort amended - added comments