This is a coursework. Documentation for assignment can be found via link below https://coursework.cs.duke.edu/201-public-documentation/p6-percolation/-/blob/main/README.md