empirical_graphon function

Computes empirical graphon from graph