Bubble Sort using the strategy pattern