test solution

Here is the solution to the coding test in the form of a c# class library.