aux g visited [] aristas = aristas