TEAM UK-White Pull Request

The variable prevWord was never stored so there was nothing to compare to. Added an assignment statement to store the prevWord.