Add sample code to calculate partner on binomial tree