alphabeta function

replaced minimax class, now displays last move