More refactoring of Alpha beta search. Syntax error still present.