Fixed bugs with checkwinner() and move().