Accretive Technology Interview Question

Write a function to justify text.