fixed some syntax error, tried to implement division in probabilitytable - failed