Updated Equivalence Class calculations and fixed formatting of printing.