implemented Node comparison and WIP on reverse traversal