Creates the basic structure of the solver

Version barely working