Created a word node class.