Text interface Haskell implementation of checkers