Added code for executeBubbleSort