You could add a string of spaces after each word and then use the 'substring' method to make each string the same length.
print ((word+" ").substring(0, 20) );
This assumes no word is greater than 20 characters long. Then you do not have to worry about indenting.
I guess this assumes that your print is monospaced.
