Refactor boundary check condition
Added PercolationVisualizer from Princeton