Add getBoardState function to SlidingPuzzleModel