quicksort in python
added big o notation