Introduction to Algorithms in Swift - The Bubble Sort