Exact analysis of large contingency tables is uncommon: it is mostly used to solve the problem of sparsely populated tables. If your table's cells are all larger than 4, X2 is probably what you want!
For exact analysis of 2x2 tables you may prefer the following (faster) "one-sided" analysis.
You must have data for each box in the table: no blanks allowed!