A simplified implementation of grep using Dart