solving some unsolved stuff from the book Introduction to Algorithms 3rd Edition by Thomas H. Cormen Charles E. Leiserson Ronald L. Rivest Clifford Stein