1. Quick sort from wikipedia