Migrated BubbleSort to use IntegerList