changed solver and api to accept different input format. added comments to api. made very minor change to sudoku.