added ListTraversal class and static method