Created first BubbleSort algorithm, needs further refactoring for performance.