fixed ArrayOutOfBound exceptions, tested for inputs using PercolationVisualizer. have to fix full sites issue.