title: How to make a new dict from two dict
body: <p>I'm trying to build a new dict from dict of just keys and a another dict of keys values pairs. In the second dict there could be more then one item mapped to same key. In the new dict, I would like to collect all those items together in a list and map it to a key. I have this code so far but it doesn't work. I get <code>KeyError: '1'</code>.</p>
  
  <pre><code>dictKeys = ['1', '2', '3', '4', '5']
  
  #dict to sort based on dictKeys 
  result = {'2': 'Berat', 
            '3': 'Ayn Daflah', 
            '4': 'Eastern', 
            '5': 'Canillo', 
            '1': 'Badgis', 
            '4': "Manu'a", 
            '5': 'Andorra la Vella', 
            '1': 'Badakhshan', 
            '2': 'Bulqize', 
            '3': 'Ayn Tamushanat'}
  
  #expected dictonary
  result_dict = {}
  
  for k in dictKeys:
      for key,value in result.items():
          if k == key:
              result_dict[key].append(value)
  
  print result_dict
  </code></pre>
  
  <p>I'm expecting to build a dict like this: </p>
  
  <pre><code>{
    '1': ['Badgis', 'Badakhshan'],
    '2': ['Berat', 'Bulqize'],
    '3': ['Ayn Tamushanat', 'Ayn Daflah'],
    '4': ["Manu'a", 'Eastern'],
    '5': ['Canillo', 'Andorra la Vella']    
  }
  </code></pre>