hasBad(String str) method added.
atFirst(String str) method added.