Added Network Visualization function

Added network visualization function to the Sampler class.