Update WordModifier.cpp

Updated constructor! I did this in school! #YOLO