Added dictionary file and main program logic