fixed the test logic which was causing problems when finding solutions
counting how many unsolved values remain in a grid
fixed frustrating bug due to overthinking the solution