adding a sample python program to estimate free margin