using a stack of nodes. push works.