Subgroups of Dihedral Group D4