Used the SudokuGrid type properly and removed the struct also improved formatting