Giving hints and solving sudokus in java for android