Added function to print out all words' connectedness to the target word