Application of graph theory and density functional theory in the study of some physico-chemical problems