added solution for 'Word Break' leetcode's problem