Cleaned NegaMax Code