prime finding in C#