Update bad_word_detector.rb

Removed return from constructor