main.js has changed name to nim.js
Added endGame og gameWon to end the game when someone takes the last token.
Also added a primitive global compsTurn to keep record of who is having a turn => who might be taking the last item => who won!
Removed timer callback, since it confuses who has turn => who won.