BFS on adjacency matrix

Breadth First Search on an Adjacency Matrix with SQL queue