Microsoft Interview Question

Write a program to represent the tic-tac-toe game where 'O' will be the winner