Separating Sets for the Alternating and Dihedral Groups