Added class MultiplyAlgorithms. This closes #6.