Full conversion to C#

Updated all the old C++ files to their C# equivalent, made improvements
to main function for solving problems.