Started working on the isConnected function, creating a merge function to merge vectors to help with that method!