<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def call(self, function, args=(), kwargs={}):
 """Call a method given some args and kwargs. function -- string containing the method name to call args -- arguments, either a list or tuple returns the result of the method. May raise an exception if the method isn't in the dict. """

        return self.functions[function](*args, **kwargs)