Added treeFoldl. Also, exported a couple of forgotten functions