def METHOD_NAME(x, y, **kwargs):
    """Creates two exits to and from the two rooms east and west."""
    # If on the first iteration - Do nothing.
    if kwargs["iteration"] == 0:
        return
    west_room = kwargs["room_dict"][(x - 1, y)]
    east_room = kwargs["room_dict"][(x + 1, y)]
    create_object(exits.Exit, key="east", aliases=["e"], location=west_room, destination=east_room)
    create_object(exits.Exit, key="west", aliases=["w"], location=east_room, destination=west_room)
    kwargs["caller"].msg("Connected: " + west_room.key + " & " + east_room.key)