fixed input/output read
read/write bug fixed
networks sample size tested
test() isn't working yet