FreeVBCode code snippet: calculate prime numbers