Made first draft of the function to test the parity of factors of 2 in the product of factorials from 1 to n