Not able to run this to check prime number