algorithm

A set of step-by-step rules for solving a problem.