How many elements does the dihedral group generate?