forked from: Bubble Sort

Same animation, different implementation.