refactoring...
Added minimax value nodes