Cleaner code
Empties squares faster
Fixed breaking if all squares have been tried