untested implementation of fragments
Still untested, I have to get the SMILESGeneration to work first