Fixed Swapping problem in bubbleUp()
Merge pull request #20 from JohnneyMing/zhongm2

Fixed Swapping problem in bubbleUp()