Created bubbleSort