add solution for text justification.