Implemented alpha-beta pruning.