Changing set_bonds() to set bonds to Atom objects, rather than string representations.