c# project that checks if a given number is prime