Fixed Bubble Sort bug and mysterious InsertSort bug