Added support for a list of algorithms, using the 'algorithm' package.