def find_orbital_distance(obj_1, obj_2, ind_orbs):
    """
    Takes two strings, obj_1 and obj_2 and a dictionary of all the direct and
    indirect orbits in the orbital map.
    
    Searches for a common orbit in the orbit lists of both objects and then 
    determines the number of orbits from each object to the common orbit.
    
    Returns the minimum number of orbital transfers required such that both
    objects are orbiting the same body.
    """
    
    orbits1 = ind_orbs[obj_1]
    orbits2 = ind_orbs[obj_2]
    
    dist_orb1_com = 0
    dist_orb2_com = 0
    
    print("Finding common orbits....")
    
    for orbit in orbits1:
        if orbit in orbits2:
            print("Common orbit found: ", orbit)
            dist_orb1_com = orbits1.index(orbit)
            dist_orb2_com = orbits2.index(orbit)
            break
        
    return dist_orb1_com + dist_orb2_com