Update traverselite.py

match traverse.py