https://www.geeksforgeeks.org/implement-random-0-6-generator-using-the-given-random-0-1-generator/ http://users.atw.hu/parallelcomp/ch04lev1sec3.html