Started dp solution
Merge branch 'phrase_detection' of github.com:simongog/surf into phrase_detection
Fixed DP.