Dice simulation histogram. sides tells how many sides each die has and n.