Fixed "overlapping" problem in violations()

Used a bit of a hack with regular expressions to make sure we count all
violations in an output, not just non-overlapping ones, so that ccc
violates *cc twice and not just once.
Updated toy_input_4.txt