An Objective-C program that generates a list of prime numbers from 2 to 50