Sorter class implementing bubble sort and test