Modified directory.rb for exercises
Removed typos from typos_directory.rb