Update .gitignore.
Added save to file for pictures.
Convert multiple functions into methods for Network contructor.
Convert nnodes to integer.