Working on a sudoku solver - eventually moving to require.js