update BubbleSort class with framework