Introduced generate() method in PrimeFactors class 
  Test case failing
  junit.framework.AssertionFailedError: expected:<null> but was:<[]>