changed mergesort to bubble sort per reqest of proffesor.