Added C# code for homework 2 by stochastictinker

Hey, guys, added some C# / .NET 4.0 code for homework 2. The code is quite dirty as I never meant it to be published but after realizing there were no C# solutions decided to share nevertheless.