Added support for a tie

I added a few lines to `engine.c` and `gtktactoe.c` so that `gtktactoe` will tell the user when a tie has occurred.