added initialize function
added adjacent words function, along with a String extension.
finished basic implementation