finished percolation.java + helper classes for quizzes