finish GenericBubbleSort