Monomial algebras