finding connections from fragment to main molecule in list file works