How To Create Trees In Python