Haskell Chess Engine