C# Snake source code