added simulation.py (see description)

still need to figure out how to set global variables and string these
.py files together. For now, the checkSolvency() function exists both
here and in netGen.py