did a bunch of UI stuff, basically all works, assumes the use just the function "solvePuzzle" in JSVopenCV