Fixed case sensitivity and multiple occurrences

Added toLowerCase to avoid case sensitivity issues.
Added do while loop to ensure all occurrences of a censored item are
found.