added a test for get_empty_cells and more test cases for is_finished