Basic multi-threaded bubble sort done with 1 mutex