CREATED constructor for minimax node
CHANGED classes to fit minimax