A program that solves the given sudoku puzzle, if it's solvable.
Program is written in Java
Give the input line by line to the stdin. line by line, write the sudoku with spaces between squares, use 0 for empty areas:
Example line: "0 1 2 3 4 5 6 7 8"