Adding directory.rb from Student Directory project.