Determining if a Whole Number is Prime or Composite