[math-fun] horizontal and vertical flip in Dihedral group (D4)