it is ugly but the bubble sort works, needs refactoring
bubble sort and tests, basic functionality working but needs work to allow more variation of sorts