more effective way of throwing dice, adding commentaries to code