Added WordSieve class

This reverts commit d79b4c36195ad886fa4c41be62cec2be67df41cb.