I\'m trying to write a program that lists all prime numbers in a given parameter. My terminal won\'t output anything, even though I have a print function at the end of the p