What is algorithm??
With examples