Fixed random number generation and made the die value bounds public.