Othello game logic implementation in Haskell