working on alpha beta solver