Applications of Graph Theory in Chemo- and Bioinformatics