Changed the solution type. Added printing the solution.
Added a placeholder for generating final configuration.