Sudoku Solver implemented in JavaScript