Code to accompany the book: Introduction to Algorithms (3rd ed).