bfs program in c using adjacency matrix