@TobiasKildetoft the idea is this: let $C$ be a category with finitely many objects and $R$ be a ring, then $R[C]$ is defined as a free $R$-module on the set of all morphisms in $C$, with multiplication defined on the basis elements by $0$ if they are not composable and as composition if they are composable. Then one can show that $R[C]$-modules correspond to functors $C \to R\mathrm{-Mod}$, note that this implies that equivalent categories have Morita equivalent algebras.
Take $X$ to be the category with $n$ elements and for each pair of objects, exactly one morphism, i.e. the trivial rela…