code: @Override
      public List<IAtom> getConnectedAtomsList(IAtom atom) {
          List<IAtom> atomsList = new ArrayList<IAtom>();
          for (int i = 0; i < bondCount; i++) {
              if (bonds[i].contains(atom)) atomsList.add(bonds[i].getOther(atom));
          }
          return atomsList;
      }
docs: Returns an ArrayList of all atoms connected to the given atom.
  
  @param  atom  The atom the bond partners are searched of.
  @return       The ArrayList with the connected atoms