Explain Partition Algorithm For Basic Blocks