Isolation and classification of polycyclic aromatic nitrogen heterocyclic compounds