Implement more divide and conquer problem, including quick sort(recursive and stack)  and quick select(using rank).