added shell script for testing grep searching speed. implemented factory
pattern for text searcher