Extracting Ligands from PDB files