Commit optimalStopping.py