Provides addChild method to connect the parent and child basic blocks.