Solution to exercises of the book 'Introduction to Algorithms: A Creative Approach'