lib: add Text::justify

Signed-off-by: Jean Privat <jean@pryen.org>
example: add some tasks of Rosetta code

Signed-off-by: Jean Privat <jean@pryen.org>