bernoulli_cdf_MC function

Average run length for Bernoulli CUSUM using Markov Chain methodology