Implemented a Quick Sort and corresponding unit-tests