C# solution for the knight trevails problem