Created a class with an interface to represent the solutions.