set up winner as an object so that player who won can be displayed.
Mostly working version. I have something wrong with my win-checking logic.
It worksgit add ttt.js All of it worksgit add ttt.js
Fixed a typo.
Added some documentation.
Move variables into (IMO) better position, remove some unneeded logic.