BubbleSort implemented