fixed sequential_halving.py
added script, and edited main.py