Totally forgot to make this check for consecutive digits being the same.
So now a board is invalid if it contains 3 or more of the same value in
a row or column.