Small algorithms to solve specific problem.