Restructure dice roll probability to be recursive