added algorithm to calculate the binomial coefficient in an efficient way using DP