Update Word Break II.py

Instead of two passes, we might do it in one pass, and decide whether we need to backtrack all the paths. Please let me know if you have any thoughts on it. Thanks!
Merge pull request #5 from yjc801/patch-1

merge word break II alternate solution