iOS app that calculates whether or not a number is prime