add implements of quick sort