Return the probability of exactly k heads in n independent tosses of a
coin that lands heads with probability p.
The binomial coefficient counts which tosses were heads; the powers give the probability of any one such arrangement.
Input
n = 10
k = 3
p = 0.5
Output
0.1171875