add code for alphaBeta class