Solver fixes - works for simple puzzles! Also added SolverTest
debugMode var (will change later) and some cosmetic fixes