Reduced if statement in BubbleSort