percolation lab python version