Monte Carlo Exact Tests for Log-linear models