Creates the solution