Add product example.
Change range to avoid RAND_MAX+1 overflow.
Add chisquare example.