Update Dictionary_next.cpp

functional completed