delete words set

functionality of wordsSet deletion finished and some refactotring