revise quicksort; add tests and requirements.txt