Implementing part of the CLRS algorithms and problems