'Adds a value to a list at a dictionary key, creating the list if it doesn\'t
exist.'

def push(self, dictionary, key, value):

    if (key not in dictionary):
        dictionary[key] = []
    dictionary[key].append(value)
