I was trying to create a function that returns a random word character (letter) with a given probability. My reference is this wikipedia page. In the table you can see the lette