Created Dictionary class, with contains and containsSubstring methods.