Final adjustments before handing exercise. Improved performance to 158s for 10000x 50 nodes 0.4 density.
Fixed Monte Carlo average when graph had no paths found.
Using iterators in Graph structure.