refeactored add special characters to words and tested word generator