Added grep.rb and still working on tree.rb.