Analysis of Divided Society at the Standpoint of In-Group and Out-Group Using Opinion Dynamics