Bellman Ford algorithm for shortest path
Negative cycle check added
Monte Carlo Simulation for a percolation system