With those in mind, and taking the steps of the algorithm into account, we can implement it. We'll define aGraphclass to "wrap" the implementation of the BFS search. Graphcontains a graph representation - in this case an adjacency matrix, and all methods you might need when work...