Implement `bubbleSort(arr)` that returns a new-or-in-place array sorted in ascending order using bubble sort.
Run your code to see results.