Solve the text justification problem in leetcode, not interesting at all, handle many edge cases.