traverserGoToBeginning and traverserGoToEnd methods in class
GraphTraverser implemented