implemented dice rolling functions