Added comments about the scoring methods.
Added scoring methods based on the number of empty cells.
Call new methods, and if two or more scores are best, choose randomly.
Remove old code that uses threading.