Direct sum of algebras