This program completes a test for independence using a contingency table.
The observed frequencies must be contained in matrix `[A]`and the result
is a test statistic having a chi-square distribution.

When the program is done running, the following variables are defined

- List 1 contains the observed frequencies
- List 2 contains the expected frequencies
- List 3 contains the row totals
- List 4 contains the column totals