Fix the tests, add a visual solver, and a main. It gives me the wrong answer, though.