Added intial implementation for bubbleSort