how to describe algorithms - Search