Implemented forward pruning.
Implemented composite bot.