We are checking the test case of our prime generator. genPrimes(6) should return the list
[2, 3, 5, 7, 11, 13], but instead our code is returning non-primes such as 9 and 15 as
well. We need to debug the code.