try to think of some test cases by yourself instead of submitting so many times.
more work needed on quick sort