AlgorithmsinC++,sedgewick