Types: m: int, n: int, probabilities: List[List[float]]
Ranges: 1 ≤ m, n ≤ 16, 0.000 ≤ probabilities[i][j] ≤ 1.000
Addtl Info: Probabilities are given up to three decimal places, output error should be within 10^-9 of the true value.