<p><img alt="Problem 5 Binary Search Trees (30 points) Modify the books implementation of the binary search tree described in chapters 6.1" src="https://media.cheggcdn.com/media%2F45a%2F45a3c38d-6424-44d4-8172-d81c3feb0220%2FphpeOaKKY.png" style="height:438px;width:642px;" aria-describedby="d3f"/></p><p>class TreeNode:<br/>def __init__(self,key,val,left=None,right=None,parent=None):<br/>self.key = key<br/>self.payload = val<br/>self.leftChild
<p>I need to modify the python code bellow such that it can take agiven text (plaintext), encrypt it with a given key, save theencrypted message in a new file(cyphertext), save
Assignment InstructionsAssignment 3 (Week 6) Baby Boomers in Middle AdulthoodThe largest segment of the U.S. population, the “baby boomers,” are moving into middle adulthood and, in some cases, even becoming