[quicksort] small quicksort implementation in python for future experiment
[quicksort] Fix tests
[quicksort] fix format when writing state