Regardless of the context in which they are used, algorithms are essentially problem solvers - their purpose is to solve and often automate a solution to a particular problem. Introductory textbooks on algorithms tend to outline their subject broadly, defining an algorithm as 'a set of steps to accomplish a task' 3.