Pro C# 5.0 and the .NET 4.5 Framework, Sixth Edition exercises and some algorithms