wip
modularized alphabeta
monadic attempt