Added quick sort and tests