added dictionary on basis of a hash map and created document vector for challenge