initial implementation of the text centering exercise