Some bugfixes, but it still doesn't work right

also added a sudoku and shidoku puzzle generator, though the sudoku one doesn't really work