Implementation Of Tree Using Python