fix bug in number of nodes
add postive/negative/both option for percolation in class constructor
style
cleen code
new folder structure and setup.py added