added comments and doc strings
tests for odds_ratio, relative_risk,chi2, and ordered_table
bug fixes to make tests pass