Added a simple quick sort implementation.