Challenge #163 [E]: Probability Distribution

http://www.reddit.com/r/dailyprogrammer/comments/25y2d0/5192014_challenge_163_easy_probability/