Corrected return values and added a comment

Set return true on duplicate word and successful word so the program
would continue down that branch looking for more words.