Researchers Probe Thought Process of Dogs