added advanced logic, can solve hard sudoku