Classification of A-graded algebras with 3 generators