UK-K Pull Request

Added a currword = prevword near the end of the duplicate words function