<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def get_atom_name(self, atom):
 """Look up the name of atom, returning it as a string. Will raise BadAtom if atom does not exist."""

        r = request.GetAtomName(display = self.display,
                                atom = atom)
        return r.name