Added a package.json file and moved the Dlx solve method to the top of the class