created DictionaryMethod class, updated main and makefile