def direct_orbits(map):
    """
    Takes map, a list of orbital map orbit instructions.
    Return a dictionary consisting of 
        keys: each orbital object
        values: the object the object in keys is directly orbiting.
    """
    
    orbits_dict = {}
    
    print("Building direct orbit dictionary....")
    
    # Iterate through map and add each orbital object and the object it directly orbits
    for entry in map:                   
            orbits_dict[entry[4:]] = [entry[:3]]        
    
    return orbits_dict