Fixed bug in quicksort
Fixed bugs both with the random numbers and the time calculations