Chips Challenge in C#