My final solution to the SudokuValidator problem. 

Split the program into two files SudokuParser which returns an array and a SudokuValidator which takes in the returned output from the parser. 

Should I use stubs and mocks with the SudokuValidator spec file to test it in isolation with the SudokuParser.