Bubble sort works on two-element array with passing tests. Does not iterate multiple times.