extend Stack API by peek()
non-recursive DFS