Added quick sort implmentation.