Added rand
a mechanism to roll dice and get a randomized result.