Solving dice problems in BLOG. need to refactor into multiple blog files at some point