Joining Brep-Tiles via Connectivity

You must post some files. Read this :

You have to learn to code. Grasshopper is programming but it is not very good for recursive problem like the one you have.
The closest script I have to your proble (connectivity of brep) is this