updated text justification and three sum