Update MentionExtractor.cs

Refactored some loops into LINQ