Add Tic-Tac-Toe example

Closes #175.
Merge pull request #191 from Muon/master

Add Tic-Tac-Toe example