Futoshiki and Sudoku with Brute Force Algorithm