Update binom_test.py

Updated version, writes to several different files