added 'atoms' property to compound, renamed atoms() function to yield_atoms()
added 'bonds' property to compound, renamed atoms() function to yield_bonds()