add bubbleSort and format