Function for computing walks in a graph.
number_of_walks(G, walk_length)
number_of_walks
Returns the number of walks connecting each pair of nodes in G
G