Create WordBreak.java

add the naive solution and run time analysis