fixed the Word class.  problems originated from 'private static' fields
instead of 'public' fields