I tried to make a prime number generator but I don\'t know why it\'s not working. Because according to the code, it should work fine. I used a if statement somewhere in the func