AlphaBeta (chess) in Haskell