It lists all prime numbers up to (& including) an inputted number