Finding given number prime or not.