Rules and utilities relating to the game of go in Haskell