Added quick sort basic version def