practice code for the book "Introduction to Algorithms, 3rd edition"