found words are now stored in a stack
still doesn't work
prints out 'result'
still doesn't work, but better