removenfromdict.cpp
Condensed the functionality of the dictionary parsing functions into one function.