Solved the LCD Digits problem in C#