Prime Number Calculator Written in C#