writes solution to csv file. TODO: solve sudoku board