Week 5: Algorithm analysis,
searching, sorting
Bubble Sort
If n is the size of the array. Pass through
the array n-1 times, exchanging items, if
necessary.