some algorithms in CLRS implement and some readily notes.