Added a search for twists, points where the puzzle is rotated, added markers for twists. Started working on a solver, needs debugging and verification.