Added solver.js

Main js file to solve a sudoku