A general method of generating and classifying Clifford algebras