Working alpha beta search