Updated permutations.js
quickSort