Changed how the N is generated. Replaced the arrays for Lists in order to iterate through them to form the excel tables.
Modified loops to use foreach instead of nested for loops. Initial modification to teh printTable prototype.