A Python script to test Optimal Stopping Theory