Implementation of the game of reversi/othello