Create word-break.cpp

Another difficult DP question...Need to understand how to record the information of sub questions.