Add a new algorithm