def build_process_dic(lst):
    """
    Simple method to build a dictionnary for process need and results
    from a list such as ['cake', '8', 'dollar', '20'] wich will result in
                        {'cake' : 8, 'dollar' : 20}
    """
    dico = {}
    i = 0
    for i, elem in enumerate(lst):
        if elem[-1] == '':
            elem.pop(-1)
        dico[elem[0]] = int(elem[1])
        i += 1
    return dico