refactor BubbleSort to inherit from SortBaseClass, passes test