added method to make a list of adjacent words
changed program to store parent of each word found
program builds and returns array of steps to find target