I\'m trying to write a dice algorithm and count the number of every number that could my dice could roll, but getting odd and wrong result. what is the problem with this cod