changed getDirtyRestaurnts name and makes getOnlyRestaurantsHasViolations funcation