solution to fullJustify