Added a different form of bubbleSort

The previous implementation has been renamed bubbleSort2. The new
implementation is easier to understand in terms of what the for loops
count up to.