an app that calculates and displays primes up to specified number