program for binomial expansion