Program to justify lines in a paragraph (both left and right alignment) - similar to in Microsoft word