AdjacencyMatrixExponentiation Cubes an adjacency matrix and prints the output The option -std=c++11 is needed to be added to run on openlab. E.g. g++ -std=c++11 AdjacencyMatrixExponentiation.cpp or g++ -std=c++11 MatrixExponentiation.cpp