## L319_x
'''
Kick-off for L319
'''
Suppose we are given the binary encoding

E = [('a','0000'),   ('b','001000'), ('c','00101'), ('d','10000'),('e','1100'),
     ('f','111000'), ('g','001001'), ('h','10001'), ('i','1001'), ('j','1101000000'),
     ('k','1010000'),('l','11101'),  ('m','110101'),('n','0001'), ('o','1011'),
     ('p','111001'), ('q','110100001'), ('r','11011'), ('s','0011'),('t','1111'),
     ('u','10101'),  ('v','11010001'), ('w','1101001'), ('x','1010001'), ('y','101001'),
     ('z','1101000001'), (' ','01')]

and the table of character frequencies
    
F = [('a',575), ('b',128), ('c',263), ('d',285), ('e',913),
        ('f',173), ('g',133), ('h',313), ('i',599), ('j',6),
        ('k',84), ('l',335), ('m',235), ('n',596), ('o',689),
        ('p',192), ('q',8), ('r',508), ('s',567), ('t',706),
        ('u',334), ('v',69), ('w',119), ('x',73), ('y',164),
        ('z',7), (' ',1928)]

Find the average length of the emited code-words.

