Alpha-beta pruning implemented