bubbleSort method added - code complete