negamax stil not working, improved dependency inversion and fixed tie method