Got first version of solver done!!!

YES!

To do that though, I had to remove the more complicated logic.