starting working on the solver
this has some code from the internet.

BROKEN BUILD