classes auxiliares
percolation algorithm
stdout