A grep clone written in Python