A Network Algorithm for Performing Fisher’s Exact Test in R x C Contingency Tables