Added printPath()