add listToTree.py
This is to double check the algorithm for cs61, hw9, prob5.