My C# implementation of the mid term for Advanced Programming Exam