My practice code for CLRS book