Tinder Interview Question

Write a function that justifies a string given the maximum number of characters per line.