Theoretical studies of structural, optic and electronic properties of polypyrrole (PPy) oligomer