fixed bug in nArms decrement
Added a simple bernoulli arm and testing it in index.js