Check if given number is Prime