Completed problem solutions, mainly in C#