Move from class methods to object methods. Write function to track traversal for testing
Write all the tests