Structural organization of a chain molecule with specific charge distribution: A molecular dynamics study