Vose's Alias Algorithm for simulating a loaded die | Hacker News Reader