Working on adding logic to connect different tiles