Haskell Shogi program