An improved method for programming a word-erasable EEPROM