Computing the Energy and Estrada Index of Different Molecular Structures