A sudoku puzzle generator in javascript