* added a weighted binary search to assist with simulating a weighted die

* weighted die has n sides, where the probability of landing on each is p(n)

* bin search accepts an iteratively summed p-distribution and a random number

* bin search returns the index representing the face that the die lands on