Tests added for testing element chaining. crunch function added for searching through a directory.