implemented bubbleSort algorithm, still needs test