Alpha-Beta-Algorithm in Java