Implemented text justification